@import "ng-devui/styles-var/devui-var.scss";
@import "src/app/@shared/styles/common.scss";

d-button {
  margin-right: 12px;
}

.btn-group {
  margin-top: 8px;
}

.ms-3 {
  margin-left: 8px
}

.mt-2 {
  margin-top: 6px
}

.mt-3 {
  margin-top: 8px
}

.mt-5 {
  margin-top: 24px
}

.px-5 {
  padding: 25px 0 25px 0 !important;
}

.page-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.underline {
  text-decoration: underline;
}

.card {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border-radius: $devui-border-radius-card;
  box-shadow: $devui-shadow-length-base $devui-light-shadow;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.align-items-bottom {
  align-items: bottom;
}

.justify-content-center {
  justify-content: center;
}

.flex-col {
  flex-direction: column;
}

.h-100 {
  height: 100%;
}

h2 {
  margin: 8px;
  font-size: $devui-font-size-data-overview;
}

p {
  font-size: 14px;
}

form {
  max-width: 100%;
}

label {
  font-size: $devui-font-size
}

.invalid {
  color: #f66f6a;
}

.card-title {
  padding: 5px 0;
  border-bottom: 1px solid $devui-list-item-hover-bg;
}

.card-title span {
  font-size: $devui-font-size-card-title;
}

.card-body {
  overflow-y: auto;
  padding: 10px 0;
  margin-bottom: 10px;
  border-bottom: 1px solid $devui-list-item-hover-bg;
  flex-grow: 1;
}

.table-card {
  position: relative;
}

.page-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;

  p {
    font-size: $devui-font-size;
  }
}
.underline {
  text-decoration: underline;
}
.me-2 {
  margin-right: 5px;
}
:host ::ng-deep .devui-toast{
  transform: translateX(-50%);
}
:host ::ng-deep .custom-class {
  .devui-toast-message-success {
    .devui-toast-item {
      width: 26em;
      color: #252b3a;
      background-color: $devui-success-bg;


      .devui-toast-icon-close {
        top: 10px;
        right: 13px;

        .devui-toast-close-icon {
          fill: #252b3a;
        }
      }

      .devui-toast-image {
        top: 15px;
      }

      .devui-toast-message {
        line-height: 23px;

        .devui-toast-title {
          font-size: 16px;
        }

        p {
          font-size: 14px;
        }
      }
    }
  }

  .devui-toast-item {
    color: #f3f3f3;
    background-color: $devui-red-50;
    width: 26em;

    .devui-toast-icon-close {
      top: 10px;
      right: 13px;

      .devui-toast-close-icon {
        fill: #252b3a;
      }
    }

    .devui-toast-image {
      top: 15px;
    }

    .devui-toast-message {
      line-height: 23px;

      .devui-toast-title {
        font-size: 16px;
      }

      p {
        white-space: wrap;
        font-size: 14px;
      }
    }
  }
}
.dDropDown {
  display: inline-block;
}
ul.devui-dropdown-menu {
  padding: 1px !important;
}
.dl-row {
  --bs-gutter-x: 0px !important;
}
d-button-group {
  margin-right: 12px;

  d-button {
    margin-right: 0px !important;
  }
}
.fitter {
  input {
    height: 27px !important
  }
}
.d-input {
  display: inline-flex;
  width: 320px;
  align-items: center;
}
.card-header {
  display: flex;
  align-items: center;
}
:host ::ng-deep .devui-tag-item.true {
  background-color: $devui-green-60;
  color: $devui-light-text;
  box-sizing: border-box;
}
:host ::ng-deep .devui-tag-item.false {
  box-sizing: border-box;
  background-color: $devui-warning;
  color: $devui-light-text;
}
d-tag {
  margin: 4px;
}
.clear {
  cursor: pointer;
}
.da-content-wrapper {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;

  .departments {
    width: 240px;
    margin-right: 20px;
  }

  .employs-box {
    position: relative;
    flex-grow: 1;
    width: 0;

    .card {
      display: flex;
      flex-direction: column;

      .list-content {
        margin-top: 12px;
        flex-grow: 1;
      }
    }
  }
}
.devui-link-danger {
  color: #f66f6a;
  color: var(--devui-danger-text, #f66f6a);
  cursor: pointer;
}
a.disabled{
  pointer-events: none;
  color: #ccc;
}
